#pragma once

#include <vector>
#include "IManager.h"
using namespace std;

class CEmitter;

class CParticleManager : public IManager
{
	vector<CEmitter*> m_vecEmitters;
	int m_nEmitterCount;

	CParticleManager();
	CParticleManager(const CParticleManager&);
	CParticleManager& operator=(const CParticleManager&);
	~CParticleManager();

public:

	CParticleManager* GetInstance();
	bool DeleteInstance();
	void Init();
	void Clear();
	void Shutdown();
	void Update(float fDelta);
	void Render();
	void AddEmitter(CEmitter* pEmitter);
	void RemoveEmitter(CEmitter* pEmitter);
};